<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>mxText</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/prettify.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.51 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="mxText"></a>mxText</h1><div class=CBody><p>Extends <a href="mxShape-js.html#mxShape" class=LClass id=link45 onMouseOver="ShowTip(event, 'tt1', 'link45')" onMouseOut="HideTip('tt1')">mxShape</a> to implement a text shape.&nbsp; To change vertical text from bottom to top to top to bottom, the following code can be used:</p><blockquote><pre class="prettyprint">mxText.prototype.verticalTextRotation = 90;</pre></blockquote><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#mxText" >mxText</a></td><td class=SDescription>Extends <a href="mxShape-js.html#mxShape" class=LClass id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">mxShape</a> to implement a text shape. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxText.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.mxText" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">mxText</a></td><td class=SDescription>Constructs a new text shape.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxText.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxText.baseSpacingTop" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">baseSpacingTop</a></td><td class=SDescription>Specifies the spacing to be added to the top spacing. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxText.baseSpacingBottom" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">baseSpacingBottom</a></td><td class=SDescription>Specifies the spacing to be added to the bottom spacing. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxText.baseSpacingLeft" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">baseSpacingLeft</a></td><td class=SDescription>Specifies the spacing to be added to the left spacing. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxText.baseSpacingRight" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">baseSpacingRight</a></td><td class=SDescription>Specifies the spacing to be added to the right spacing. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxText.replaceLinefeeds" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">replaceLinefeeds</a></td><td class=SDescription>Specifies if linefeeds in HTML labels should be replaced with BR tags. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxText.verticalTextRotation" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">verticalTextRotation</a></td><td class=SDescription>Rotation for vertical text. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxText.ignoreClippedStringSize" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">ignoreClippedStringSize</a></td><td class=SDescription>Specifies if the string size should be measured in <a href="#mxText.updateBoundingBox" class=LFunction id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">updateBoundingBox</a> if the label is clipped and the label position is center and middle. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxText.ignoreStringSize" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">ignoreStringSize</a></td><td class=SDescription>Specifies if the actual string size should be measured. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxText.textWidthPadding" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">textWidthPadding</a></td><td class=SDescription>Specifies the padding to be added to the text width for the bounding box. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#mxText.lastValue" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">lastValue</a></td><td class=SDescription>Contains the last rendered text value. </td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#mxText.cacheEnabled" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">cacheEnabled</a></td><td class=SDescription>Specifies if caching for HTML labels should be enabled. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#mxText.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.isParseVml" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">isParseVml</a></td><td class=SDescription>Text shapes do not contain VML markup and do not need to be parsed. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.isHtmlAllowed" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">isHtmlAllowed</a></td><td class=SDescription>Returns true if HTML is allowed for this shape. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.getSvgScreenOffset" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">getSvgScreenOffset</a></td><td class=SDescription>Disables offset in IE9 for crisper image output.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.checkBounds" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">checkBounds</a></td><td class=SDescription>Returns true if the bounds are not null and all of its variables are numeric.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.paint" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">paint</a></td><td class=SDescription>Generic rendering code.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.redraw" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')">redraw</a></td><td class=SDescription>Renders the text using the given DOM nodes.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.resetStyles" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')">resetStyles</a></td><td class=SDescription>Resets all styles.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.apply" id=link22 onMouseOver="ShowTip(event, 'tt22', 'link22')" onMouseOut="HideTip('tt22')">apply</a></td><td class=SDescription>Extends mxShape to update the text styles.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.getAutoDirection" id=link23 onMouseOver="ShowTip(event, 'tt23', 'link23')" onMouseOut="HideTip('tt23')">getAutoDirection</a></td><td class=SDescription>Used to determine the automatic text direction. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.getContentNode" id=link24 onMouseOver="ShowTip(event, 'tt24', 'link24')" onMouseOut="HideTip('tt24')">getContentNode</a></td><td class=SDescription>Returns the node that contains the rendered input.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.updateBoundingBox" id=link25 onMouseOver="ShowTip(event, 'tt10', 'link25')" onMouseOut="HideTip('tt10')">updateBoundingBox</a></td><td class=SDescription>Updates the &lt;boundingBox&gt; for this shape using the given node and position.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.getShapeRotation" id=link26 onMouseOver="ShowTip(event, 'tt25', 'link26')" onMouseOut="HideTip('tt25')">getShapeRotation</a></td><td class=SDescription>Returns 0 to avoid using rotation in the canvas via updateTransform.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.getTextRotation" id=link27 onMouseOver="ShowTip(event, 'tt26', 'link27')" onMouseOut="HideTip('tt26')">getTextRotation</a></td><td class=SDescription>Returns the rotation for the text label of the corresponding shape.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.isPaintBoundsInverted" id=link28 onMouseOver="ShowTip(event, 'tt27', 'link28')" onMouseOut="HideTip('tt27')">isPaintBoundsInverted</a></td><td class=SDescription>Inverts the bounds if &lt;mxShape.isBoundsInverted&gt; returns true or if the horizontal style is false.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.configureCanvas" id=link29 onMouseOver="ShowTip(event, 'tt28', 'link29')" onMouseOut="HideTip('tt28')">configureCanvas</a></td><td class=SDescription>Sets the state of the canvas for drawing the shape.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.updateVmlContainer" id=link30 onMouseOver="ShowTip(event, 'tt29', 'link30')" onMouseOut="HideTip('tt29')">updateVmlContainer</a></td><td class=SDescription>Sets the width and height of the container to 1px.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.getHtmlValue" id=link31 onMouseOver="ShowTip(event, 'tt30', 'link31')" onMouseOut="HideTip('tt30')">getHtmlValue</a></td><td class=SDescription>Private helper function to create SVG elements</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.getTextCss" id=link32 onMouseOver="ShowTip(event, 'tt31', 'link32')" onMouseOut="HideTip('tt31')">getTextCss</a></td><td class=SDescription>Private helper function to create SVG elements</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.redrawHtmlShape" id=link33 onMouseOver="ShowTip(event, 'tt32', 'link33')" onMouseOut="HideTip('tt32')">redrawHtmlShape</a></td><td class=SDescription>Updates the HTML node(s) to reflect the latest bounds and scale.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.redrawHtmlShapeWithCss3" id=link34 onMouseOver="ShowTip(event, 'tt33', 'link34')" onMouseOut="HideTip('tt33')">redrawHtmlShapeWithCss3</a></td><td class=SDescription>Updates the HTML node(s) to reflect the latest bounds and scale.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.updateHtmlTransform" id=link35 onMouseOver="ShowTip(event, 'tt34', 'link35')" onMouseOut="HideTip('tt34')">updateHtmlTransform</a></td><td class=SDescription>Returns the spacing as an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link36 onMouseOver="ShowTip(event, 'tt35', 'link36')" onMouseOut="HideTip('tt35')">mxPoint</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.updateInnerHtml" id=link37 onMouseOver="ShowTip(event, 'tt36', 'link37')" onMouseOut="HideTip('tt36')">updateInnerHtml</a></td><td class=SDescription>Sets the inner HTML of the given element to the &lt;value&gt;.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.updateHtmlFilter" id=link38 onMouseOver="ShowTip(event, 'tt37', 'link38')" onMouseOut="HideTip('tt37')">updateHtmlFilter</a></td><td class=SDescription>Rotated text rendering quality is bad for IE9 quirks/IE8 standards</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.updateValue" id=link39 onMouseOver="ShowTip(event, 'tt38', 'link39')" onMouseOut="HideTip('tt38')">updateValue</a></td><td class=SDescription>Updates the HTML node(s) to reflect the latest bounds and scale.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.updateFont" id=link40 onMouseOver="ShowTip(event, 'tt39', 'link40')" onMouseOut="HideTip('tt39')">updateFont</a></td><td class=SDescription>Updates the HTML node(s) to reflect the latest bounds and scale.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.updateSize" id=link41 onMouseOver="ShowTip(event, 'tt40', 'link41')" onMouseOut="HideTip('tt40')">updateSize</a></td><td class=SDescription>Updates the HTML node(s) to reflect the latest bounds and scale.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#mxText.getMargin" >getMargin</a></td><td class=SDescription>Returns the spacing as an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link42 onMouseOver="ShowTip(event, 'tt35', 'link42')" onMouseOut="HideTip('tt35')">mxPoint</a>.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#mxText.getSpacing" id=link43 onMouseOver="ShowTip(event, 'tt41', 'link43')" onMouseOut="HideTip('tt41')">getSpacing</a></td><td class=SDescription>Returns the spacing as an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link44 onMouseOver="ShowTip(event, 'tt35', 'link44')" onMouseOut="HideTip('tt35')">mxPoint</a>.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxText.Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.mxText"></a>mxText</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>function mxText(</td><td class="PParameter  prettyprint " nowrap>value,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>align,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>valign,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>color,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>family,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>size,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>fontStyle,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>spacing,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>spacingTop,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>spacingRight,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>spacingBottom,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>spacingLeft,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>horizontal,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>background,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>border,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>wrap,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>clipped,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>overflow,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>labelPadding,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>textDirection</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Constructs a new text shape.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>value</td><td class=CDLDescription>String that represents the text to be displayed.&nbsp; This is stored in &lt;value&gt;.</td></tr><tr><td class=CDLEntry>bounds</td><td class=CDLDescription><a href="../util/mxRectangle-js.html#mxRectangle" class=LClass id=link46 onMouseOver="ShowTip(event, 'tt42', 'link46')" onMouseOut="HideTip('tt42')">mxRectangle</a> that defines the bounds.&nbsp; This is stored in <a href="mxShape-js.html#mxShape.bounds" class=LVariable id=link47 onMouseOver="ShowTip(event, 'tt43', 'link47')" onMouseOut="HideTip('tt43')">mxShape.bounds</a>.</td></tr><tr><td class=CDLEntry>align</td><td class=CDLDescription>Specifies the horizontal alignment.&nbsp; Default is &lsquo;&rsquo;.&nbsp; This is stored in &lt;align&gt;.</td></tr><tr><td class=CDLEntry>valign</td><td class=CDLDescription>Specifies the vertical alignment.&nbsp; Default is &lsquo;&rsquo;.&nbsp; This is stored in &lt;valign&gt;.</td></tr><tr><td class=CDLEntry>color</td><td class=CDLDescription>String that specifies the text color.&nbsp; Default is &lsquo;black&rsquo;.&nbsp; This is stored in &lt;color&gt;.</td></tr><tr><td class=CDLEntry>family</td><td class=CDLDescription>String that specifies the font family.&nbsp; Default is <a href="../util/mxConstants-js.html#mxConstants.DEFAULT_FONTFAMILY" class=LVariable id=link48 onMouseOver="ShowTip(event, 'tt44', 'link48')" onMouseOut="HideTip('tt44')">mxConstants.DEFAULT_FONTFAMILY</a>.&nbsp; This is stored in &lt;family&gt;.</td></tr><tr><td class=CDLEntry>size</td><td class=CDLDescription>Integer that specifies the font size.&nbsp; Default is <a href="../util/mxConstants-js.html#mxConstants.DEFAULT_FONTSIZE" class=LVariable id=link49 onMouseOver="ShowTip(event, 'tt45', 'link49')" onMouseOut="HideTip('tt45')">mxConstants.DEFAULT_FONTSIZE</a>.&nbsp; This is stored in &lt;size&gt;.</td></tr><tr><td class=CDLEntry>fontStyle</td><td class=CDLDescription>Specifies the font style.&nbsp; Default is 0.&nbsp; This is stored in &lt;fontStyle&gt;.</td></tr><tr><td class=CDLEntry>spacing</td><td class=CDLDescription>Integer that specifies the global spacing.&nbsp; Default is 2.&nbsp; This is stored in &lt;spacing&gt;.</td></tr><tr><td class=CDLEntry>spacingTop</td><td class=CDLDescription>Integer that specifies the top spacing.&nbsp; Default is 0.&nbsp; The sum of the spacing and this is stored in &lt;spacingTop&gt;.</td></tr><tr><td class=CDLEntry>spacingRight</td><td class=CDLDescription>Integer that specifies the right spacing.&nbsp; Default is 0.&nbsp; The sum of the spacing and this is stored in &lt;spacingRight&gt;.</td></tr><tr><td class=CDLEntry>spacingBottom</td><td class=CDLDescription>Integer that specifies the bottom spacing.&nbsp; Default is 0.The sum of the spacing and this is stored in &lt;spacingBottom&gt;.</td></tr><tr><td class=CDLEntry>spacingLeft</td><td class=CDLDescription>Integer that specifies the left spacing.&nbsp; Default is 0.&nbsp; The sum of the spacing and this is stored in &lt;spacingLeft&gt;.</td></tr><tr><td class=CDLEntry>horizontal</td><td class=CDLDescription>Boolean that specifies if the label is horizontal.&nbsp; Default is true.&nbsp; This is stored in &lt;horizontal&gt;.</td></tr><tr><td class=CDLEntry>background</td><td class=CDLDescription>String that specifies the background color.&nbsp; Default is null.&nbsp; This is stored in &lt;background&gt;.</td></tr><tr><td class=CDLEntry>border</td><td class=CDLDescription>String that specifies the label border color.&nbsp; Default is null.&nbsp; This is stored in &lt;border&gt;.</td></tr><tr><td class=CDLEntry>wrap</td><td class=CDLDescription>Specifies if word-wrapping should be enabled.&nbsp; Default is false.&nbsp; This is stored in &lt;wrap&gt;.</td></tr><tr><td class=CDLEntry>clipped</td><td class=CDLDescription>Specifies if the label should be clipped.&nbsp; Default is false.&nbsp; This is stored in &lt;clipped&gt;.</td></tr><tr><td class=CDLEntry>overflow</td><td class=CDLDescription>Value of the overflow style.&nbsp; Default is &lsquo;visible&rsquo;.</td></tr></table></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxText.Variables"></a>Variables</h3></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.baseSpacingTop"></a>baseSpacingTop</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.baseSpacingTop</td></tr></table></blockquote><p>Specifies the spacing to be added to the top spacing.&nbsp; Default is 0.&nbsp; Use the value 5 here to get the same label positions as in mxGraph 1.x.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.baseSpacingBottom"></a>baseSpacingBottom</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.baseSpacingBottom</td></tr></table></blockquote><p>Specifies the spacing to be added to the bottom spacing.&nbsp; Default is 0.&nbsp; Use the value 1 here to get the same label positions as in mxGraph 1.x.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.baseSpacingLeft"></a>baseSpacingLeft</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.baseSpacingLeft</td></tr></table></blockquote><p>Specifies the spacing to be added to the left spacing.&nbsp; Default is 0.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.baseSpacingRight"></a>baseSpacingRight</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.baseSpacingRight</td></tr></table></blockquote><p>Specifies the spacing to be added to the right spacing.&nbsp; Default is 0.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.replaceLinefeeds"></a>replaceLinefeeds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.replaceLinefeeds</td></tr></table></blockquote><p>Specifies if linefeeds in HTML labels should be replaced with BR tags.&nbsp; Default is true.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.verticalTextRotation"></a>verticalTextRotation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.verticalTextRotation</td></tr></table></blockquote><p>Rotation for vertical text.&nbsp; Default is -90 (bottom to top).</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.ignoreClippedStringSize"></a>ignoreClippedStringSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.ignoreClippedStringSize</td></tr></table></blockquote><p>Specifies if the string size should be measured in <a href="#mxText.updateBoundingBox" class=LFunction id=link50 onMouseOver="ShowTip(event, 'tt10', 'link50')" onMouseOut="HideTip('tt10')">updateBoundingBox</a> if the label is clipped and the label position is center and middle.&nbsp; If this is true, then the bounding box will be set to &lt;bounds&gt;.&nbsp; Default is true.&nbsp; <a href="#mxText.ignoreStringSize" class=LVariable id=link51 onMouseOver="ShowTip(event, 'tt11', 'link51')" onMouseOut="HideTip('tt11')">ignoreStringSize</a> has precedence over this switch.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.ignoreStringSize"></a>ignoreStringSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.ignoreStringSize</td></tr></table></blockquote><p>Specifies if the actual string size should be measured.&nbsp; If disabled the boundingBox will not ignore the actual size of the string, otherwise &lt;bounds&gt; will be used instead.&nbsp; Default is false.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.textWidthPadding"></a>textWidthPadding</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.textWidthPadding</td></tr></table></blockquote><p>Specifies the padding to be added to the text width for the bounding box.&nbsp; This is needed to make sure no clipping is applied to borders.&nbsp; Default is 4 for IE 8 standards mode and 3 for all others.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.lastValue"></a>lastValue</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.lastValue</td></tr></table></blockquote><p>Contains the last rendered text value.&nbsp; Used for caching.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="mxText.cacheEnabled"></a>cacheEnabled</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.cacheEnabled</td></tr></table></blockquote><p>Specifies if caching for HTML labels should be enabled.&nbsp; Default is true.</p></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="mxText.Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.isParseVml"></a>isParseVml</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.isParseVml = function()</td></tr></table></blockquote><p>Text shapes do not contain VML markup and do not need to be parsed.&nbsp; This method returns false to speed up rendering in IE8.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.isHtmlAllowed"></a>isHtmlAllowed</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.isHtmlAllowed = function()</td></tr></table></blockquote><p>Returns true if HTML is allowed for this shape.&nbsp; This implementation returns true if the browser is not in IE8 standards mode.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.getSvgScreenOffset"></a>getSvgScreenOffset</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getSvgScreenOffset = function()</td></tr></table></blockquote><p>Disables offset in IE9 for crisper image output.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.checkBounds"></a>checkBounds</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.checkBounds = function()</td></tr></table></blockquote><p>Returns true if the bounds are not null and all of its variables are numeric.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.paint"></a>paint</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.paint = function(</td><td class="PParameter  prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>update</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Generic rendering code.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.redraw"></a>redraw</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.redraw = function()</td></tr></table></blockquote><p>Renders the text using the given DOM nodes.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.resetStyles"></a>resetStyles</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.resetStyles = function()</td></tr></table></blockquote><p>Resets all styles.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.apply"></a>apply</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.apply = function(</td><td class="PParameter  prettyprint " nowrap>state</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Extends mxShape to update the text styles.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>state</td><td class=CDLDescription><a href="../view/mxCellState-js.html#mxCellState" class=LClass id=link52 onMouseOver="ShowTip(event, 'tt46', 'link52')" onMouseOut="HideTip('tt46')">mxCellState</a> of the corresponding cell.</td></tr></table></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.getAutoDirection"></a>getAutoDirection</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getAutoDirection = function()</td></tr></table></blockquote><p>Used to determine the automatic text direction.&nbsp; Returns <a href="../util/mxConstants-js.html#mxConstants.TEXT_DIRECTION_LTR" class=LVariable id=link53 onMouseOver="ShowTip(event, 'tt47', 'link53')" onMouseOut="HideTip('tt47')">mxConstants.TEXT_DIRECTION_LTR</a> or <a href="../util/mxConstants-js.html#mxConstants.TEXT_DIRECTION_RTL" class=LVariable id=link54 onMouseOver="ShowTip(event, 'tt48', 'link54')" onMouseOut="HideTip('tt48')">mxConstants.TEXT_DIRECTION_RTL</a> depending on the contents of &lt;value&gt;.&nbsp; This is not invoked for HTML, wrapped content or if &lt;value&gt; is a DOM node.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.getContentNode"></a>getContentNode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getContentNode = function()</td></tr></table></blockquote><p>Returns the node that contains the rendered input.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.updateBoundingBox"></a>updateBoundingBox</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.updateBoundingBox = function()</td></tr></table></blockquote><p>Updates the &lt;boundingBox&gt; for this shape using the given node and position.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.getShapeRotation"></a>getShapeRotation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getShapeRotation = function()</td></tr></table></blockquote><p>Returns 0 to avoid using rotation in the canvas via updateTransform.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.getTextRotation"></a>getTextRotation</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getTextRotation = function()</td></tr></table></blockquote><p>Returns the rotation for the text label of the corresponding shape.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.isPaintBoundsInverted"></a>isPaintBoundsInverted</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.isPaintBoundsInverted = function()</td></tr></table></blockquote><p>Inverts the bounds if &lt;mxShape.isBoundsInverted&gt; returns true or if the horizontal style is false.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.configureCanvas"></a>configureCanvas</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.configureCanvas = function(</td><td class="PParameter  prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>h</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the state of the canvas for drawing the shape.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.updateVmlContainer"></a>updateVmlContainer</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.updateVmlContainer = function()</td></tr></table></blockquote><p>Sets the width and height of the container to 1px.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.getHtmlValue"></a>getHtmlValue</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getHtmlValue = function()</td></tr></table></blockquote><p>Private helper function to create SVG elements</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.getTextCss"></a>getTextCss</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getTextCss = function()</td></tr></table></blockquote><p>Private helper function to create SVG elements</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.redrawHtmlShape"></a>redrawHtmlShape</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.redrawHtmlShape = function()</td></tr></table></blockquote><p>Updates the HTML node(s) to reflect the latest bounds and scale.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.redrawHtmlShapeWithCss3"></a>redrawHtmlShapeWithCss3</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.redrawHtmlShapeWithCss3 = function()</td></tr></table></blockquote><p>Updates the HTML node(s) to reflect the latest bounds and scale.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.updateHtmlTransform"></a>updateHtmlTransform</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.updateHtmlTransform = function()</td></tr></table></blockquote><p>Returns the spacing as an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link55 onMouseOver="ShowTip(event, 'tt35', 'link55')" onMouseOut="HideTip('tt35')">mxPoint</a>.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.updateInnerHtml"></a>updateInnerHtml</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.updateInnerHtml = function(</td><td class="PParameter  prettyprint " nowrap>elt</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Sets the inner HTML of the given element to the &lt;value&gt;.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.updateHtmlFilter"></a>updateHtmlFilter</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.updateHtmlFilter = function()</td></tr></table></blockquote><p>Rotated text rendering quality is bad for IE9 quirks/IE8 standards</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.updateValue"></a>updateValue</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.updateValue = function()</td></tr></table></blockquote><p>Updates the HTML node(s) to reflect the latest bounds and scale.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.updateFont"></a>updateFont</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.updateFont = function(</td><td class="PParameter  prettyprint " nowrap>node</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the HTML node(s) to reflect the latest bounds and scale.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.updateSize"></a>updateSize</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.updateSize = function(</td><td class="PParameter  prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>enableWrap</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Updates the HTML node(s) to reflect the latest bounds and scale.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.getMargin"></a>getMargin</h3><div class=CBody><p>Returns the spacing as an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link56 onMouseOver="ShowTip(event, 'tt35', 'link56')" onMouseOut="HideTip('tt35')">mxPoint</a>.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxText.getSpacing"></a>getSpacing</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getSpacing = function()</td></tr></table></blockquote><p>Returns the spacing as an <a href="../util/mxPoint-js.html#mxPoint" class=LClass id=link57 onMouseOver="ShowTip(event, 'tt35', 'link57')" onMouseOut="HideTip('tt35')">mxPoint</a>.</p></div></div></div>

</div><!--Content-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MEntry><div class=MFile><a href="../index-txt.html">API Specification</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Editor</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../editor/mxDefaultKeyHandler-js.html">mxDefaultKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxDefaultPopupMenu-js.html">mxDefaultPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxDefaultToolbar-js.html">mxDefaultToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../editor/mxEditor-js.html">mxEditor</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Handler</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../handler/mxCellHighlight-js.html">mxCellHighlight</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxCellMarker-js.html">mxCellMarker</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxCellTracker-js.html">mxCellTracker</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxConnectionHandler-js.html">mxConnectionHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxConstraintHandler-js.html">mxConstraintHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxEdgeHandler-js.html">mxEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxEdgeSegmentHandler-js.html">mxEdgeSegmentHandler.js</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxElbowEdgeHandler-js.html">mxElbowEdgeHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxGraphHandler-js.html">mxGraphHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxHandle-js.html">mxHandle</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxKeyHandler-js.html">mxKeyHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxPanningHandler-js.html">mxPanningHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxPopupMenuHandler-js.html">mxPopupMenuHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxRubberband-js.html">mxRubberband</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxSelectionCellsHandler-js.html">mxSelectionCellsHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxTooltipHandler-js.html">mxTooltipHandler</a></div></div><div class=MEntry><div class=MFile><a href="../handler/mxVertexHandler-js.html">mxVertexHandler</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Io</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../io/mxCellCodec-js.html">mxCellCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxChildChangeCodec-js.html">mxChildChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxCodec-js.html">mxCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxCodecRegistry-js.html">mxCodecRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultKeyHandlerCodec-js.html">mxDefaultKeyHandlerCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultPopupMenuCodec-js.html">mxDefaultPopupMenuCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxDefaultToolbarCodec-js.html">mxDefaultToolbarCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxEditorCodec-js.html">mxEditorCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGenericChangeCodec-js.html">mxGenericChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGraphCodec-js.html">mxGraphCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxGraphViewCodec-js.html">mxGraphViewCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxModelCodec-js.html">mxModelCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxObjectCodec-js.html">mxObjectCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxRootChangeCodec-js.html">mxRootChangeCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxStylesheetCodec-js.html">mxStylesheetCodec</a></div></div><div class=MEntry><div class=MFile><a href="../io/mxTerminalChangeCodec-js.html">mxTerminalChangeCodec</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Layout</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Hierarchical</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Model</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphAbstractHierarchyCell-js.html">mxGraphAbstractHierarchyCell</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphHierarchyEdge-js.html">mxGraphHierarchyEdge</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphHierarchyModel-js.html">mxGraphHierarchyModel</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxGraphHierarchyNode-js.html">mxGraphHierarchyNode</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/model/mxSwimlaneModel-js.html">mxSwimlaneModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/mxHierarchicalLayout-js.html">mxHierarchicalLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/mxSwimlaneLayout-js.html">mxSwimlaneLayout</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Stage</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxCoordinateAssignment-js.html">mxCoordinateAssignment</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxHierarchicalLayoutStage-js.html">mxHierarchicalLayoutStage</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxMedianHybridCrossingReduction-js.html">mxMedianHybridCrossingReduction</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxMinimumCycleRemover-js.html">mxMinimumCycleRemover</a></div></div><div class=MEntry><div class=MFile><a href="../layout/hierarchical/stage/mxSwimlaneOrdering-js.html">mxSwimlaneOrdering</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../layout/mxCircleLayout-js.html">mxCircleLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxCompactTreeLayout-js.html">mxCompactTreeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxCompositeLayout-js.html">mxCompositeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxEdgeLabelLayout-js.html">mxEdgeLabelLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxFastOrganicLayout-js.html">mxFastOrganicLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxGraphLayout-js.html">mxGraphLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxParallelEdgeLayout-js.html">mxParallelEdgeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxPartitionLayout-js.html">mxPartitionLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxRadialTreeLayout-js.html">mxRadialTreeLayout</a></div></div><div class=MEntry><div class=MFile><a href="../layout/mxStackLayout-js.html">mxStackLayout</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Model</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="../model/mxCell-js.html">mxCell</a></div></div><div class=MEntry><div class=MFile><a href="../model/mxCellPath-js.html">mxCellPath</a></div></div><div class=MEntry><div class=MFile><a href="../model/mxGeometry-js.html">mxGeometry</a></div></div><div class=MEntry><div class=MFile><a href="../model/mxGraphModel-js.html">mxGraphModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../mxClient-js.html">mxClient</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Shape</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MFile><a href="mxActor-js.html">mxActor</a></div></div><div class=MEntry><div class=MFile><a href="mxArrow-js.html">mxArrow</a></div></div><div class=MEntry><div class=MFile><a href="mxArrowConnector-js.html">mxArrowConnector</a></div></div><div class=MEntry><div class=MFile><a href="mxCloud-js.html">mxCloud</a></div></div><div class=MEntry><div class=MFile><a href="mxConnector-js.html">mxConnector</a></div></div><div class=MEntry><div class=MFile><a href="mxCylinder-js.html">mxCylinder</a></div></div><div class=MEntry><div class=MFile><a href="mxDoubleEllipse-js.html">mxDoubleEllipse</a></div></div><div class=MEntry><div class=MFile><a href="mxEllipse-js.html">mxEllipse</a></div></div><div class=MEntry><div class=MFile><a href="mxHexagon-js.html">mxHexagon</a></div></div><div class=MEntry><div class=MFile><a href="mxImageShape-js.html">mxImageShape</a></div></div><div class=MEntry><div class=MFile><a href="mxLabel-js.html">mxLabel</a></div></div><div class=MEntry><div class=MFile><a href="mxLine-js.html">mxLine</a></div></div><div class=MEntry><div class=MFile><a href="mxMarker-js.html">mxMarker</a></div></div><div class=MEntry><div class=MFile><a href="mxPolyline-js.html">mxPolyline</a></div></div><div class=MEntry><div class=MFile><a href="mxRectangleShape-js.html">mxRectangleShape</a></div></div><div class=MEntry><div class=MFile><a href="mxRhombus-js.html">mxRhombus</a></div></div><div class=MEntry><div class=MFile><a href="mxShape-js.html">mxShape</a></div></div><div class=MEntry><div class=MFile><a href="mxStencil-js.html">mxStencil</a></div></div><div class=MEntry><div class=MFile><a href="mxStencilRegistry-js.html">mxStencilRegistry</a></div></div><div class=MEntry><div class=MFile><a href="mxSwimlane-js.html">mxSwimlane</a></div></div><div class=MEntry><div class=MFile id=MSelected>mxText</div></div><div class=MEntry><div class=MFile><a href="mxTriangle-js.html">mxTriangle</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Util</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="../util/mxAbstractCanvas2D-js.html">mxAbstractCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxAnimation-js.html">mxAnimation</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxAutoSaveManager-js.html">mxAutoSaveManager</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxClipboard-js.html">mxClipboard</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxConstants-js.html">mxConstants</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxDictionary-js.html">mxDictionary</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxDivResizer-js.html">mxDivResizer</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxDragSource-js.html">mxDragSource</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEffects-js.html">mxEffects</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEvent-js.html">mxEvent</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEventObject-js.html">mxEventObject</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxEventSource-js.html">mxEventSource</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxForm-js.html">mxForm</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxGuide-js.html">mxGuide</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxImage-js.html">mxImage</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxImageBundle-js.html">mxImageBundle</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxImageExport-js.html">mxImageExport</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxLog-js.html">mxLog</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxMorphing-js.html">mxMorphing</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxMouseEvent-js.html">mxMouseEvent</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxObjectIdentity-js.html">mxObjectIdentity</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxPanningManager-js.html">mxPanningManager</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxPoint-js.html">mxPoint</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxPopupMenu-js.html">mxPopupMenu</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxRectangle-js.html">mxRectangle</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxResources-js.html">mxResources</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxSvgCanvas2D-js.html">mxSvgCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxToolbar-js.html">mxToolbar</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxUndoableEdit-js.html">mxUndoableEdit</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxUndoManager-js.html">mxUndoManager</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxUrlConverter-js.html">mxUrlConverter</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxUtils-js.html">mxUtils</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxVmlCanvas2D-js.html">mxVmlCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxWindow-js.html">mxWindow</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxXmlCanvas2D-js.html">mxXmlCanvas2D</a></div></div><div class=MEntry><div class=MFile><a href="../util/mxXmlRequest-js.html">mxXmlRequest</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">View</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="../view/mxCellEditor-js.html">mxCellEditor</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxCellOverlay-js.html">mxCellOverlay</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxCellRenderer-js.html">mxCellRenderer</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxCellState-js.html">mxCellState</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxCellStatePreview-js.html">mxCellStatePreview</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxConnectionConstraint-js.html">mxConnectionConstraint</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxEdgeStyle-js.html">mxEdgeStyle</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxGraph-js.html">mxGraph</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxGraphSelectionModel-js.html">mxGraphSelectionModel</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxGraphView-js.html">mxGraphView</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxLayoutManager-js.html">mxLayoutManager</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxMultiplicity-js.html">mxMultiplicity</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxOutline-js.html">mxOutline</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxPerimeter-js.html">mxPerimeter</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxPrintPreview-js.html">mxPrintPreview</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxStyleRegistry-js.html">mxStyleRegistry</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxStylesheet-js.html">mxStylesheet</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxSwimlaneManager-js.html">mxSwimlaneManager</a></div></div><div class=MEntry><div class=MFile><a href="../view/mxTemporaryCellStates-js.html">mxTemporaryCellStates</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">Index</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Cookies.html">Cookies</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Events.html">Events</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Cookies">Cookies</option><option value="Events">Events</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([9], 13);// --></script></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Base class for all shapes. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>function mxText(</td><td class="PParameter  prettyprint " nowrap>value,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>bounds,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>align,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>valign,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>color,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>family,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>size,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>fontStyle,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>spacing,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>spacingTop,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>spacingRight,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>spacingBottom,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>spacingLeft,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>horizontal,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>background,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>border,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>wrap,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>clipped,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>overflow,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>labelPadding,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>textDirection</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Constructs a new text shape.</div></div><div class=CToolTip id="tt3"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.baseSpacingTop</td></tr></table></blockquote>Specifies the spacing to be added to the top spacing. </div></div><div class=CToolTip id="tt4"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.baseSpacingBottom</td></tr></table></blockquote>Specifies the spacing to be added to the bottom spacing. </div></div><div class=CToolTip id="tt5"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.baseSpacingLeft</td></tr></table></blockquote>Specifies the spacing to be added to the left spacing. </div></div><div class=CToolTip id="tt6"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.baseSpacingRight</td></tr></table></blockquote>Specifies the spacing to be added to the right spacing. </div></div><div class=CToolTip id="tt7"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.replaceLinefeeds</td></tr></table></blockquote>Specifies if linefeeds in HTML labels should be replaced with BR tags. </div></div><div class=CToolTip id="tt8"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.verticalTextRotation</td></tr></table></blockquote>Rotation for vertical text. </div></div><div class=CToolTip id="tt9"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.ignoreClippedStringSize</td></tr></table></blockquote>Specifies if the string size should be measured in updateBoundingBox if the label is clipped and the label position is center and middle. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.updateBoundingBox = function()</td></tr></table></blockquote>Updates the boundingBox for this shape using the given node and position.</div></div><div class=CToolTip id="tt11"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.ignoreStringSize</td></tr></table></blockquote>Specifies if the actual string size should be measured. </div></div><div class=CToolTip id="tt12"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.textWidthPadding</td></tr></table></blockquote>Specifies the padding to be added to the text width for the bounding box. </div></div><div class=CToolTip id="tt13"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.lastValue</td></tr></table></blockquote>Contains the last rendered text value. </div></div><div class=CToolTip id="tt14"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.cacheEnabled</td></tr></table></blockquote>Specifies if caching for HTML labels should be enabled. </div></div><div class=CToolTip id="tt15"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.isParseVml = function()</td></tr></table></blockquote>Text shapes do not contain VML markup and do not need to be parsed. </div></div><div class=CToolTip id="tt16"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.isHtmlAllowed = function()</td></tr></table></blockquote>Returns true if HTML is allowed for this shape. </div></div><div class=CToolTip id="tt17"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getSvgScreenOffset = function()</td></tr></table></blockquote>Disables offset in IE9 for crisper image output.</div></div><div class=CToolTip id="tt18"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.checkBounds = function()</td></tr></table></blockquote>Returns true if the bounds are not null and all of its variables are numeric.</div></div><div class=CToolTip id="tt19"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.paint = function(</td><td class="PParameter  prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>update</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Generic rendering code.</div></div><div class=CToolTip id="tt20"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.redraw = function()</td></tr></table></blockquote>Renders the text using the given DOM nodes.</div></div><div class=CToolTip id="tt21"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.resetStyles = function()</td></tr></table></blockquote>Resets all styles.</div></div><div class=CToolTip id="tt22"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.apply = function(</td><td class="PParameter  prettyprint " nowrap>state</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Extends mxShape to update the text styles.</div></div><div class=CToolTip id="tt23"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getAutoDirection = function()</td></tr></table></blockquote>Used to determine the automatic text direction. </div></div><div class=CToolTip id="tt24"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getContentNode = function()</td></tr></table></blockquote>Returns the node that contains the rendered input.</div></div><div class=CToolTip id="tt25"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getShapeRotation = function()</td></tr></table></blockquote>Returns 0 to avoid using rotation in the canvas via updateTransform.</div></div><div class=CToolTip id="tt26"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getTextRotation = function()</td></tr></table></blockquote>Returns the rotation for the text label of the corresponding shape.</div></div><div class=CToolTip id="tt27"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.isPaintBoundsInverted = function()</td></tr></table></blockquote>Inverts the bounds if mxShape.isBoundsInverted returns true or if the horizontal style is false.</div></div><div class=CToolTip id="tt28"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.configureCanvas = function(</td><td class="PParameter  prettyprint " nowrap>c,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>x,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>y,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>w,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>h</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the state of the canvas for drawing the shape.</div></div><div class=CToolTip id="tt29"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.updateVmlContainer = function()</td></tr></table></blockquote>Sets the width and height of the container to 1px.</div></div><div class=CToolTip id="tt30"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getHtmlValue = function()</td></tr></table></blockquote>Private helper function to create SVG elements</div></div><div class=CToolTip id="tt31"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getTextCss = function()</td></tr></table></blockquote>Private helper function to create SVG elements</div></div><div class=CToolTip id="tt32"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.redrawHtmlShape = function()</td></tr></table></blockquote>Updates the HTML node(s) to reflect the latest bounds and scale.</div></div><div class=CToolTip id="tt33"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.redrawHtmlShapeWithCss3 = function()</td></tr></table></blockquote>Updates the HTML node(s) to reflect the latest bounds and scale.</div></div><div class=CToolTip id="tt34"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.updateHtmlTransform = function()</td></tr></table></blockquote>Returns the spacing as an mxPoint.</div></div><div class=CToolTip id="tt35"><div class=CClass>Implements a 2-dimensional vector with double precision coordinates.</div></div><div class=CToolTip id="tt36"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.updateInnerHtml = function(</td><td class="PParameter  prettyprint " nowrap>elt</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the inner HTML of the given element to the value.</div></div><div class=CToolTip id="tt37"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.updateHtmlFilter = function()</td></tr></table></blockquote>Rotated text rendering quality is bad for IE9 quirks/IE8 standards</div></div><div class=CToolTip id="tt38"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.updateValue = function()</td></tr></table></blockquote>Updates the HTML node(s) to reflect the latest bounds and scale.</div></div><div class=CToolTip id="tt39"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.updateFont = function(</td><td class="PParameter  prettyprint " nowrap>node</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the HTML node(s) to reflect the latest bounds and scale.</div></div><div class=CToolTip id="tt40"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>mxText.prototype.updateSize = function(</td><td class="PParameter  prettyprint " nowrap>node,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>enableWrap</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Updates the HTML node(s) to reflect the latest bounds and scale.</div></div><div class=CToolTip id="tt41"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxText.prototype.getSpacing = function()</td></tr></table></blockquote>Returns the spacing as an mxPoint.</div></div><div class=CToolTip id="tt42"><div class=CClass>Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.</div></div><div class=CToolTip id="tt43"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">mxShape.prototype.bounds</td></tr></table></blockquote>Holds the mxRectangle that specifies the bounds of this shape.</div></div><div class=CToolTip id="tt44"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">DEFAULT_FONTFAMILY: 'Arial</td></tr></table></blockquote>Defines the default family for all fonts. </div></div><div class=CToolTip id="tt45"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">DEFAULT_FONTSIZE: 11</td></tr></table></blockquote>Defines the default size (in px). </div></div><div class=CToolTip id="tt46"><div class=CClass>Represents the current state of a cell in a given mxGraphView.</div></div><div class=CToolTip id="tt47"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">TEXT_DIRECTION_LTR: 'ltr'</td></tr></table></blockquote>Constant for text direction left to right. </div></div><div class=CToolTip id="tt48"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">TEXT_DIRECTION_RTL: 'rtl'</td></tr></table></blockquote>Constant for text direction right to left. </div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>